package com.zero.seata.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author zero
 */
@Data
@TableName("seata_order")
public class Order {

    @TableId(value = "o_id", type = IdType.AUTO)
    private Integer id;

    @TableField("o_good_id")
    private Integer goodId;

    @TableField("o_account_id")
    private Integer accountId;

    @TableField("o_price")
    private Double price;
}
